Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Python
1) 2D Graphics
2) Application
3) Buildin Function
4) Class
5) Data Structure
6) Data Type
7) Database
8) Development
9) Dictionary
10) Event
11) Exception
12) File
13) Function
14) GUI Pmw
15) GUI Tk
16) Language Basics
17) List
18) Math
19) Network
20) String
21) System
22) Thread
23) Tuple
24) Utility
25) XML
GUI Tk
1) 2d table of input fields
2) 3 popup windows with menus
3) A big menu bar
4) A check box button
5) A child of root window
6) A dialog support class
7) A label and a button
8) A message box
9) A simple dialog
10) A Simple Form with Menu
11) Add a button to frame
12) Add a check box to a Dialog
13) Add a label to a frame
14) Add a label to the center of a frame
15) Add a label to the top of a frame
16) Add action to toolbar buttons
17) Add components to a dialog
18) Add double click action to a Text
19) Add gif image to a button
20) Add menu to a window
21) Add system exit action to a button
22) Add toolbar to a window
23) Adds callbacks function to a button
24) Adds multi-widget layouts
25) Adds user-defined callbacks as button action
26) Alarm Demo
27) Alarm Hide
28) Alarm With Draw
29) Alternative packingclipping order
30) Animation with threads
31) Associating arguments to an event-handler function
32) Attached variables
33) Base Windows
34) Basic coding styles with labels
35) Beeper Demo
36) Bind action to canvas
37) Bind enter key to Entry
38) Bind keyboard action with root
39) Bind mouse click action to the object on a canvas
40) Bind mouse single click and double click to a button
41) Bind variable to Label
42) Binding an event with an event handler
43) Border for a group of check boxes
44) Bound Scale action with a canvas
45) Buildin dialogs
46) Button action inside a class
47) Button action to set Button background
48) Button Background and foreground
49) Button background, foreground and font
50) Button Border
51) Button border effects
52) Button border size
53) Button Border styles
54) Button cursor
55) Button event binding
56) Button focus
57) Button foreground color
58) Button single click and double click
59) Button width
60) Button width and height
61) Buttons on a toolbar
62) Canvas
63) Canvas inside a frame
64) Canvas paint
65) Capturing clicks in a window
66) Capturing destroy events
67) Cascade Menu
68) Change color for tags
69) Change font for Text
70) Change Frame title
71) Check box bar
72) Check box menu
73) Check Button Demo
74) Class wrapper for GUI
75) Clock event
76) Color chooser dialog
77) Component Placed against left side of window, fills all available horizontal space
78) Component Placed against right side of window, fills all available vertical space
79) Config button properties
80) Create a button, and put it into a Container
81) Create additional windows
82) Creating a GUI object and associating it with its parent
83) Creating a simple dialog
84) Creating a simple toolbar
85) Creating a small menu
86) Creating a window
87) Creating buttons
88) Creation order irrelevant to clipping
89) Customized dialog
90) Default top level root window
91) Define class to handle GUI components
92) Define GUI in a class
93) Demonstrates using a class with Tkinter
94) Dialog Recursive
95) Disable a button
96) Disable a menu
97) Disable a menu item
98) Draw text
99) Draw text with font
100) Enable a button
101) Entry
102) Entry (Text field) with a label inside a border panel
103) Entry dialog
104) Entry Field in a model dialog
105) Entry Fields in a row
106) Error dialog
107) File open dialog
108) Frame action
109) Frame without decorations
110) Framework for a single document interface
111) Geometry Window Manager method
112) Get check box states
113) Get input value from a dialog
114) Get Radio button state
115) Get selected value from Listbox
116) Get value from Entry
117) Grid layout manager demonstration
118) Grid made by Label and Entry
119) Grid made by the Label with Raised border
120) Grids on two windows
121) Hide a frame
122) Hold on to your radio variables
123) Image canvas
124) Implement a very simple calculator, just evaluating Python math
125) Insert image to a List box
126) Insert String to a Text
127) Label background and foreground
128) Label border
129) Label clock
130) Label on frame
131) Label style
132) Label width and height
133) Label with border
134) Label wraplength
135) Layout
136) Layout button in a row with different padx
137) Layout components in grid
138) Layout three button in a row
139) LED control
140) List Box
141) List box demo
142) ListBox with scrollBar
143) Load image to label
144) Menu action
145) Menu Button Demo
146) Menu item mouse on (active) foreground color
147) Menu separator
148) Menu separator 2 and menu action
149) Menutool bars packed before middle
150) Message as a status bar
151) Message Box
152) Message Field
153) Nested containers
154) OK Cancel dialog
155) OK cancel dialog box
156) Option Menu Demo
157) Our First Tkinter Program
158) Pack Button to grid
159) Pack controls
160) Pack layout manager
161) Pack side in TOP
162) Pack side RIGHT and LEFT
163) Packing order and sides determine layout
164) Pop up dialog
165) Popup menu demonstration
166) Question dialog
167) Radio button bar
168) Radio Button Demo
169) Radio button in a group
170) Radio Button Menu
171) Redefine call method in GUI subclass
172) Save check box states
173) Save Radio button states
174) Scale
175) Scale Demo
176) Scale used to control the size of a circle
177) Scale widget
178) ScrollBar for List box
179) Scrolled Canvas
180) Scrolled List
181) Scrolled Text
182) Search string in Text
183) Set border
184) Set Button background by property name
185) Set Button to get focus
186) Set Color
187) Set expand to YES and fill to BOTH
188) Set Frame background color
189) Set frame size
190) Set menu item font
191) Set options shared by all Tk widgets(font, colors, etc )
192) Set positions for components
193) Set side to top
194) Set text and font for Label
195) Set textvariable for Entry
196) Set up menu and add action to it
197) Setting up the widgets and controlling their appearance and location
198) Several pack() options for controlling layouts within a frame
199) Sharing Information Between Event-Handler Functions
200) Show a file in a text widget
201) Showwarning Dialog box
202) Simple Button Action
203) Simple Editor
204) Simple Text (TextArea)
205) Simplest Label
206) Specify the buttons properties
207) Standalone container class
208) StringVar and Label variable
209) Sub class button
210) Subclass Frame and use it
211) Subclass HelloButton
212) Subclasses button
213) Subclasses frame
214) Text component with different font style text
215) Text properties
216) Text with a button inside
217) Text with font settings
218) Text with ScrollBar
219) Three Menu inside a form
220) Titled Border
221) Toogle group Radio Button
222) Transient window of root
223) Two independent root windows
224) Two independent windows,but part of same process
225) Underline for menu item text
226) Update Label in action event
227) Use anchor to position, instead of fill to stretch
228) Use canvas to draw line, oval, rectangle, bitmap and arc
229) Use Entry
230) Use Entry widgets directly and layout by rows
231) Use Frame subclass
232) Use lambda to generate a call back function for a button
233) Use layout
234) Use message to alert an Exception
235) Use mouse to draw a shape on canvas
236) Use pack for a frame
237) Use Scale
238) Using A Class Structure to define GUI
239) Using the grid geometry manager
240) Using Tk option database to configure Tk widgets
241) We can do with pack()
242) What Events Does Command Bind To
243) What happens when some buttons have same value
244) WM_DELETE_WINDOW message
245) YES NO CANCEL dialog